package com.ler.yrmall.ware.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ler.yrmall.basic.BaseAssignKey;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商品库存
 * @author Leron
 */
@Data
@TableName("wms_ware_sku")
@EqualsAndHashCode(callSuper = true)
public class WareSkuEntity extends BaseAssignKey<WareSkuEntity> {

    /**
     * sku_id
     */
    private Long skuId;

    /**
     * 仓库id
     */
    private Long wareId;

    /**
     * 库存数
     */
    private Integer stock;

    /**
     * 锁定库存
     */
    private Integer stockLocked;

}
